// pages/order/order.js
Page({


  data: {
    list:{},
    coin:10000,
    phone:'1244522314',
    sum:''
  },
  onLoad:function(options){
    console.log(JSON.parse(options.list))
    var data = JSON.parse(options.list)
    this.setData({
      list:data,
    })
    this.setData({
      sum:this.data.list.value
    })
  },
  getnum:function(e){
    var num = e.detail.value
    this.setData({
      sum:(this.data.list.value)*num 
    })
  },
  order:function(){
    
  }

})